//++
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Module Name:
//
//  NotificationCompletedEventArgs.cs
//    
// Abstract:
//
//  This module implements the NotificationCompletedEventArgs class. This class encapsulates the result of the notification.
//  
//--

using System;

namespace Microsoft.EnhancedReminders.Scheduler
{
    /// <summary>
    /// Encapsulates the result of the notification.
    /// </summary>
    public sealed class NotificationCompletedEventArgs : EventArgs
    {
        private NotificationResult _result;

        /// <summary>
        /// ctor.
        /// </summary>
        /// <param name="result"></param>
        public NotificationCompletedEventArgs(NotificationResult result)
        {
            _result = result;
        }

        /// <summary>
        /// The result of the notification.
        /// </summary>
        public NotificationResult Result
        {
            get
            {
                return _result;
            }
        }
    }
}
